package com.weigecoder.auth.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weigecoder.model.system.SysUser;
import com.weigecoder.vo.system.SysUserQueryVo;

import java.util.Map;

/**
 * 用户表 服务类
 */
public interface SysUserService extends IService<SysUser> {

    //更新状态
    void updateStatus(Long id, Integer status);

    //根据用户名进行查询
    SysUser getUserByUserName(String username);

    Map<String, Object> getCurrentUser();

    IPage<SysUser> findSysUserPage(Page<SysUser> pageParam, SysUserQueryVo sysUserQueryVo);
}
